import rospy

rospy.init_node("param")

rospy.set_param("p_bool",True)

rospy.set_param("p_string","hello python")

rospy.set_param("p_list",["hello","haha","xixi"])

rospy.set_param("p_dict",{"name":"hulu","age":8})